package org.jeecg.basic.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 产品工艺参数
 * @Author: LiCY
 * @Date:   2023-08-06
 * @Version: V1.0
 */
@Data
@TableName("mes_partno_tech_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_partno_tech_cfg对象", description="产品工艺参数")
public class MesPartnoTechCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产品*/
	@Excel(name = "产品", width = 15)
    @ApiModelProperty(value = "产品")
    @TableId
    private String partno;
	/**产品条形码*/
	@Excel(name = "产品条形码", width = 15)
    @ApiModelProperty(value = "产品条形码")
    private String eancode;
	/**电压类型*/
	@Excel(name = "电压类型", width = 15)
    @ApiModelProperty(value = "电压类型")
    @Dict(dicCode = "mes_partno_tech_cfg@VOLTYP")
    private String voltyp;
	/**直流电压*/
	@Excel(name = "直流电压", width = 15)
    @ApiModelProperty(value = "直流电压")
    private String dcvol;
	/**直流电流*/
	@Excel(name = "直流电流", width = 15)
    @ApiModelProperty(value = "直流电流")
    private String dccur;
	/**直流分段能力*/
	@Excel(name = "直流分段能力", width = 15)
    @ApiModelProperty(value = "直流分段能力")
    private String dcir;
	/**交流电压*/
	@Excel(name = "交流电压", width = 15)
    @ApiModelProperty(value = "交流电压")
    private String acvol;
	/**交流电流*/
	@Excel(name = "交流电流", width = 15)
    @ApiModelProperty(value = "交流电流")
    private String accur;
	/**交流分段能力*/
	@Excel(name = "交流分段能力", width = 15)
    @ApiModelProperty(value = "交流分段能力")
    private String acir;
	/**温度转换系数*/
	@Excel(name = "温度转换系数", width = 15)
    @ApiModelProperty(value = "温度转换系数")
    private String tempcoef;
	/**标准一*/
	@Excel(name = "标准一", width = 15)
    @ApiModelProperty(value = "标准一")
    private String std1;
	/**标准二*/
	@Excel(name = "标准二", width = 15)
    @ApiModelProperty(value = "标准二")
    private String std2;
	/**标准三*/
	@Excel(name = "标准三", width = 15)
    @ApiModelProperty(value = "标准三")
    private String std3;
	/**标准四*/
	@Excel(name = "标准四", width = 15)
    @ApiModelProperty(value = "标准四")
    private String std4;
	/**标准五*/
	@Excel(name = "标准五", width = 15)
    @ApiModelProperty(value = "标准五")
    private String std5;
	/**标准六*/
	@Excel(name = "标准六", width = 15)
    @ApiModelProperty(value = "标准六")
    private String std6;
	/**保护特性类型*/
	@Excel(name = "保护特性类型", width = 15)
    @ApiModelProperty(value = "保护特性类型")
    private String pctyp;
	/**二维码格式*/
	@Excel(name = "二维码格式", width = 15)
    @ApiModelProperty(value = "二维码格式")
    private String qrcodetyp;
	/**客户特别定制*/
	@Excel(name = "客户特别定制", width = 15)
    @ApiModelProperty(value = "客户特别定制")
    private String custspec;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String comments;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date ctime;
}
